Skip to content

Conversation

@christophrj
Copy link
Contributor

@christophrj christophrj commented Sep 23, 2025

What this PR does / why we need it:
This PR adds support for nested value retrieval with slice/array traversal via JSONPath index selector.
Generally adds JSONPath selector support for projections but remains the restriction of a single projection resulting in a primitive value. Collection type results are not supported.

Which issue(s) this PR fixes:
Fixes #43

Special notes for your reviewer:
In case we want to support collection types as a result of a single projection result, I suggest we create a follow-up feature issue where we align how that should look like.

Release note:

nested projection value retrieval with slice/array traversal and JSONPath selector support

@christophrj christophrj force-pushed the fix/projection-for-non-scalar-fields branch from 3e4c3d2 to 8fb98c5 Compare September 23, 2025 10:46
maximiliantech
maximiliantech previously approved these changes Sep 24, 2025
@christophrj christophrj merged commit fc945e3 into openmcp-project:main Sep 24, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Limitation: Projection Fails for Non-Scalar Fields

2 participants